﻿namespace FileTransferSystem.Models
{
    /// <summary>
    /// 文件传输信息类，用于保存传输状态
    /// </summary>
    public class FileTransferInfo
    {
        public string FilePath { get; set; } = "";
        public string FileName { get; set; } = "";
        public long FileSize { get; set; }
        public long TransferredBytes { get; set; }
        public string IpAddress { get; set; } = "";
        public int Port { get; set; }
        public bool IsSender { get; set; }
        public string SaveDirectory { get; set; } = "";
        public string TempFilePath { get; set; } = "";
    }
}